[INFO] cloning repository https://github.com/lovezhangchuangxin/terminal-2048
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lovezhangchuangxin/terminal-2048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovezhangchuangxin%2Fterminal-2048", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovezhangchuangxin%2Fterminal-2048'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4560db34e6ac59e3e90e158c2636abdae782adad
[INFO] testing lovezhangchuangxin/terminal-2048 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flovezhangchuangxin%2Fterminal-2048" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/lovezhangchuangxin/terminal-2048
[INFO] finished tweaking git repo https://github.com/lovezhangchuangxin/terminal-2048
[INFO] tweaked toml for git repo https://github.com/lovezhangchuangxin/terminal-2048 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/lovezhangchuangxin/terminal-2048 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/lovezhangchuangxin/terminal-2048 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded deranged v0.5.4
[INFO] [stderr]   Downloaded litrs v0.4.2
[INFO] [stderr]   Downloaded document-features v0.2.11
[INFO] [stderr]   Downloaded convert_case v0.7.1
[INFO] [stderr]   Downloaded cc v1.2.41
[INFO] [stderr]   Downloaded syn v2.0.107
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3e198d9573620c0faeb77e258f9085fe750d4598ee2ea4f69333d9ea0efc7a97
[INFO] running `Command { std: "docker" "start" "-a" "3e198d9573620c0faeb77e258f9085fe750d4598ee2ea4f69333d9ea0efc7a97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3e198d9573620c0faeb77e258f9085fe750d4598ee2ea4f69333d9ea0efc7a97", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3e198d9573620c0faeb77e258f9085fe750d4598ee2ea4f69333d9ea0efc7a97", kill_on_drop: false }`
[INFO] [stdout] 3e198d9573620c0faeb77e258f9085fe750d4598ee2ea4f69333d9ea0efc7a97
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 529ef94bbfd5a484fd09afec785d06c8c6f8923e6f53c82d1cd8abdd4e130f6f
[INFO] running `Command { std: "docker" "start" "-a" "529ef94bbfd5a484fd09afec785d06c8c6f8923e6f53c82d1cd8abdd4e130f6f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling color-spantrace v0.3.0
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling instability v0.3.9
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling indenter v0.3.4
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling syn v2.0.107
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling litrs v0.4.2
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.64
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling tracing-error v0.2.1
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling derive_more v2.0.1
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling color-eyre v0.6.5
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling ratatui v0.29.0
[INFO] [stderr]    Compiling terminal-2048 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.93s
[INFO] running `Command { std: "docker" "inspect" "529ef94bbfd5a484fd09afec785d06c8c6f8923e6f53c82d1cd8abdd4e130f6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "529ef94bbfd5a484fd09afec785d06c8c6f8923e6f53c82d1cd8abdd4e130f6f", kill_on_drop: false }`
[INFO] [stdout] 529ef94bbfd5a484fd09afec785d06c8c6f8923e6f53c82d1cd8abdd4e130f6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 626ff9309f9dcd930b5743d3d9b7250cfde530fb4d83611cc50321357e384325
[INFO] running `Command { std: "docker" "start" "-a" "626ff9309f9dcd930b5743d3d9b7250cfde530fb4d83611cc50321357e384325", kill_on_drop: false }`
[INFO] [stderr]    Compiling terminal-2048 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.94s
[INFO] running `Command { std: "docker" "inspect" "626ff9309f9dcd930b5743d3d9b7250cfde530fb4d83611cc50321357e384325", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "626ff9309f9dcd930b5743d3d9b7250cfde530fb4d83611cc50321357e384325", kill_on_drop: false }`
[INFO] [stdout] 626ff9309f9dcd930b5743d3d9b7250cfde530fb4d83611cc50321357e384325
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c4eed1cf5a52066b5a189a3d9dd579dc6d2f9590a63f5f44ae8fb18bfc5dc6ff
[INFO] running `Command { std: "docker" "start" "-a" "c4eed1cf5a52066b5a189a3d9dd579dc6d2f9590a63f5f44ae8fb18bfc5dc6ff", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/terminal_2048-6ebcc866acd0c6a9)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test game::state::tests::test_move_left ... ok
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/terminal_2048-eb752b1b0580d7a3)
[INFO] [stdout] test game::state::tests::test_rotate ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests terminal_2048
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/game/save.rs - game::save::GameState (line 4) ... FAILED
[INFO] [stdout] test src/game/state.rs - game::state::Deserialize (line 2) ... FAILED
[INFO] [stdout] test src/game/state.rs - game::state (line 2) ... FAILED
[INFO] [stdout] test src/game/state.rs - game::state::Serialize (line 2) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/game/save.rs - game::save::GameState (line 4) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `存档模块` in this scope
[INFO] [stdout]  --> src/game/save.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | 存档模块
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/game/state.rs - game::state::Deserialize (line 2) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `游戏状态模块` in this scope
[INFO] [stdout]  --> src/game/state.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 游戏状态模块
[INFO] [stdout]   | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/game/state.rs - game::state (line 2) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `游戏状态模块` in this scope
[INFO] [stdout]  --> src/game/state.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 游戏状态模块
[INFO] [stdout]   | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/game/state.rs - game::state::Serialize (line 2) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `游戏状态模块` in this scope
[INFO] [stdout]  --> src/game/state.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 游戏状态模块
[INFO] [stdout]   | ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/game/save.rs - game::save::GameState (line 4)
[INFO] [stdout]     src/game/state.rs - game::state (line 2)
[INFO] [stdout]     src/game/state.rs - game::state::Deserialize (line 2)
[INFO] [stdout]     src/game/state.rs - game::state::Serialize (line 2)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.37s; merged doctests compilation took 0.13s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c4eed1cf5a52066b5a189a3d9dd579dc6d2f9590a63f5f44ae8fb18bfc5dc6ff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4eed1cf5a52066b5a189a3d9dd579dc6d2f9590a63f5f44ae8fb18bfc5dc6ff", kill_on_drop: false }`
[INFO] [stdout] c4eed1cf5a52066b5a189a3d9dd579dc6d2f9590a63f5f44ae8fb18bfc5dc6ff
